<?php

if (! defined ( 'BASEPATH' )) exit ( 'No direct script access allowed' );
/*
 * $Id$ 验证码模块 
 * 修正session问题，by rongbb@20140509
 */
// session_start();
class M_login extends CI_Model {

	function __construct() 
	{
		parent::__construct();
		$this->load->database();
	}

	function getUserInfo ($where , $columm='') 
	{
		return $this->db->select($columm?$columm:'*')->get_where('admin',$where)->row_array();
	}
}

